package com.hfut.eeg.dto;

import io.swagger.annotations.ApiModelProperty;

/**
 * @author 梁琦
 * @program: eeg
 * @Package com.hfut.eeg.dto
 * @Description: 登录功能所需的参数
 * @date 2019-11-05 10:52
 */
public class LoginParam {
    @ApiModelProperty("登录时的用户名")
    private String userName;

    @ApiModelProperty("登录时的用户密码")
    private String userPassword;

    public LoginParam() {
    }

    public LoginParam(String userName, String userPassword) {
        this.userName = userName;
        this.userPassword = userPassword;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    @Override
    public String toString() {
        return "LoginParam{" +
                "userName='" + userName + '\'' +
                ", userPassword='" + userPassword + '\'' +
                '}';
    }
}
